package dockyin.action.pattern.mediator;

public abstract class AbstractWorker {
    protected int number;

    public AbstractWorker(int number) {
        this.number = number;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public abstract void setNumber(int number, AbstractMediator mediator);
}
